import 'package:flutter/material.dart';
import 'package:flutter3/tabs/routers.dart';
import 'tabs/route/search.dart';
// tab
import 'tabs/Tabs.dart';
main()=>runApp(MyApp());

class MyApp extends StatelessWidget{
  //路由配置
  final route = {
    '/search':(context,{arguments})=>searchPage(arguments: arguments,),

  };
  @override
  Widget build(BuildContext context){
    return MaterialApp(
      // home: Tabs(),
      initialRoute: '/',
      // routes: route,
      onGenerateRoute: onGenerateRoute
    );
  }
}